package app.server.project.main.service.db.entity.cfg;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;
import org.hibernate.annotations.Comment;

@Data
@Entity(name = "rank_reward_cfg")
@TableName("rank_reward_cfg")
@Comment(value = "排行榜奖励配置表")
public class RankRewardCfgEntity {

    @Id
    @Column(name = "id")
    @Comment("排行榜类型id")
    @TableId("id")
    private int id;


    @Column(name = "remark")
    @Comment("备注")
    @TableField("remark")
    private String remark;

    @Column(name = "rank_num")
    @Comment("上榜人数")
    @TableField("rank_num")
    private int rankNum;

    @Column(name = "reward_num")
    @Comment("奖励名次")
    @TableField("reward_num")
    private int rewardNum;


}
